﻿using RepositoryEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepositoryBll
{
    /// <summary>
    /// 部门信息业务访问层接口
    /// </summary>
    public interface IDepartmentInfoBll
    {
        bool AddDepartmentInfo(DepartmentInfo departmentInfo);

        /// <summary>
        /// 删除部门
        /// </summary>
        /// <param name="departmentInfoId">部门id</param>
        /// <returns></returns>
        bool DeleteDepartmentInfo(string departmentInfoId);

        bool UpdateDepartmentInfo(DepartmentInfo departmentInfo);

        DepartmentInfo GetDepartmentInfo(string departmentInfoId);
    }
}
